package com.kedou.sdk.params;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Administrator on 2017/6/9 0009.
 */

public class CheckOrderResponseParams extends ResponseParams<CheckOrderResponseParams.CheckOrderResponseData> {

    public static class CheckOrderResponseData implements Parcelable {


        private double amount_paid;
        private String goods_name;

        public String getGoods_name() {
            return goods_name;
        }

        public void setGoods_name(String goods_name) {
            this.goods_name = goods_name;
        }

        public double getAmount_paid() {
            return amount_paid;
        }

        public void setAmount_paid(double amount_paid) {
            this.amount_paid = amount_paid;
        }

        public CheckOrderResponseData() {
        }

        protected CheckOrderResponseData(Parcel in) {
            amount_paid = in.readDouble();
            goods_name = in.readString();

        }

        public static final Creator<CheckOrderResponseData> CREATOR = new Creator<CheckOrderResponseData>() {
            @Override
            public CheckOrderResponseData createFromParcel(Parcel in) {
                return new CheckOrderResponseData(in);
            }

            @Override
            public CheckOrderResponseData[] newArray(int size) {
                return new CheckOrderResponseData[size];
            }
        };



        @Override
        public int describeContents() {
            return 0;
        }



        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeDouble(amount_paid);
            dest.writeString(goods_name);

        }
    }

}
